package iso 
{
	import flash.display.*;
	
	/**
	 * 图形地板
	 * @author StefanieKaka
	 */
	public class GraphicTile extends IsoObject 
	{
		/// 构造函数
		public function GraphicTile(size : int, classRef : Class, xoffset : Number, yoffset : Number) : void
		{
			super(size);
			var gfx : DisplayObject = new classRef() as DisplayObject;
			gfx.x = -xoffset;
			gfx.y = -yoffset;
			this.addChild(gfx);
		}
		
	}

}